]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
calendar: Tweak message list style
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 2 Jun 2015 14:57:06 +0000 (16:57 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 5 Aug 2015 15:34:11 +0000 (17:34 +0200)
 * make icons smaller
 * use small font size in body
 * add some spacing between secondary item and title

https://bugzilla.gnome.org/show_bug.cgi?id=749958

data/theme/gnome-shell-high-contrast.css
data/theme/gnome-shell-sass
data/theme/gnome-shell.css
js/ui/calendar.js

index 610afbee69b0645043755b914eee4eeec3edd3ef..87b542dccbc6c325ef015fb8bdbf8cc7ccf88ff4 100644 (file)
@@ -787,7 +787,12 @@ StScrollBar {
     padding: 8px 8px 8px 0px; }
 
 .message-icon-bin > StIcon {
-  icon-size: 48px; }
+  icon-size: 32px; }
+
+.message-secondary-bin:ltr {
+  padding-left: 8px; }
+.message-secondary-bin:rtl {
+  padding-right: 8px; }
 
 .message-secondary-bin {
   color: #999999; }
@@ -796,10 +801,12 @@ StScrollBar {
   icon-size: 16px; }
 
 .message-title {
-  font-weight: bold; }
+  font-weight: bold;
+  font-size: 1.1em; }
 
 .message-content {
-  padding: 8px; }
+  padding: 8px;
+  font-size: .9em; }
 
 .system-switch-user-submenu-icon {
   icon-size: 24px;
index e12b124a78a0aee58416a212567676c225506777..172666394146a88445811e86ce37a3f36775004c 160000 (submodule)
@@ -1 +1 @@
-Subproject commit e12b124a78a0aee58416a212567676c225506777
+Subproject commit 172666394146a88445811e86ce37a3f36775004c
index 5f4347ac2dddc3be9b7d09fa47a3ae78991e65a8..edf2ae05fa8099b358d57e726da122fb7c34e2a5 100644 (file)
@@ -787,7 +787,12 @@ StScrollBar {
     padding: 8px 8px 8px 0px; }
 
 .message-icon-bin > StIcon {
-  icon-size: 48px; }
+  icon-size: 32px; }
+
+.message-secondary-bin:ltr {
+  padding-left: 8px; }
+.message-secondary-bin:rtl {
+  padding-right: 8px; }
 
 .message-secondary-bin {
   color: #8e8e80; }
@@ -796,10 +801,12 @@ StScrollBar {
   icon-size: 16px; }
 
 .message-title {
-  font-weight: bold; }
+  font-weight: bold;
+  font-size: 1.1em; }
 
 .message-content {
-  padding: 8px; }
+  padding: 8px;
+  font-size: .9em; }
 
 .system-switch-user-submenu-icon {
   icon-size: 24px;
index 291e808ae1124e0edcbb76816e5e556f62245512..b61424fc8e84b1b84263f5b0f5658e59deecdb1a 100644 (file)
@@ -24,7 +24,7 @@ const MSECS_IN_DAY = 24 * 60 * 60 * 1000;
 const SHOW_WEEKDATE_KEY = 'show-weekdate';
 const ELLIPSIS_CHAR = '\u2026';
 
-const MESSAGE_ICON_SIZE = 48;
+const MESSAGE_ICON_SIZE = 32;
 
 const MESSAGE_ANIMATION_TIME = 0.1;